function login(){
    let u =document.getElementById("user").value;
    let p=document.getElementById("password").value;
    if(u == "admin" && p=="123"){
        alert("验证成功！");
        window.location.href="http://47.116.207.219/homePage";
        window.Event.returnValue=false;
    }
    else{
        u="";
        p="";
        alert("验证失败！");
    }
}